package models

// https://gorm.io/zh_CN/docs/models.html

type AppReport struct {
	ID         int64  `gorm:"primaryKey;autoIncrement;not null"`
	UserID     int64  `gorm:"not null; index"`
	ReportNo   string `gorm:"type:varchar(256); not null;"`
	HasPrinted int64  `gorm:"not null; default:0"`

	BaseModel
}

func (AppReport) TableName() string {
	return "app_report"
}
